package com.tianhui.consignortwofei.mvp.contract;

import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;
import com.tianhui.consignortwofei.mvp.model.enty.OrderInfo;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author fgs
 * @date 2020/4/1
 * @description
 **/
public interface OrderDetailContract {
    interface View extends CommonView {
        void showEmptyView();

        void setOrderInfo(OrderInfo orderInfo);

        void showOrderDetailList(List list);
    }

    abstract class Presenter extends CommonPresenter<View> {
        /**
         * 订单详情
         *
         * @param observable
         * @param isDialog
         */
        public abstract void requestOrderDetail(Observable observable, boolean isDialog, int orderType);

    }
}
